#include "led.h"


void delay(int n)
{
    n=n*100000;
     while(n--);
}


int main()
{

    CCGR0=0xFFFFFFFF;
    CCGR1=0xFFFFFFFF;
    CCGR2=0xFFFFFFFF;
    CCGR3=0xFFFFFFFF;
    CCGR4=0xFFFFFFFF;
    CCGR5=0xFFFFFFFF;
    CCGR6=0xFFFFFFFF;

    GPIO4_Pin1_MUX=0x5;
    GPIO4_Pin1_PAD=0x10b0;

    GDIR=0x10;
    GDR=0;

    while(1)
    {
        GDR=0x0;
        delay(10);
        GDR=0x10;
        delay(10);
    }


    return 0;
}